Skip to content

Feature/implement task sorting options#91

Open
agoritma wants to merge 4 commits intoTheDevOpsBlueprint:mainfrom
agoritma:feature/implement-task-sorting-options
Open

Feature/implement task sorting options#91
agoritma wants to merge 4 commits intoTheDevOpsBlueprint:mainfrom
agoritma:feature/implement-task-sorting-options

Conversation

@agoritma
Copy link

@agoritma agoritma commented Oct 5, 2025

PR Checklist

  • Follows single-purpose principle
  • Tests pass locally
  • Documentation updated (if needed)

What does this PR do?

add task sorting options on cli command tix ls by key like priority, id, text, created date and also order options asc and desc. Now tix ls can add new option --sort-by for short -s and --sort-order or -o, it also handling an error for non relevant key. update docs for example sorting options

example:

sort by priority asc:
image

sort by text asc:
image

sort by priority desc while show all tasks:
image

Related Issue

Issue #66

Type of change

  • Bug fix
  • New feature
  • Configuration
  • Documentation

Testing

tix ls -s priority -o desc

Note

for now i can't provide sorting by due because there no key on task models.

@agoritma
Copy link
Author

agoritma commented Oct 5, 2025

@Valentin-v-Todorov please take a look this PR and give it a review

@Valentin-v-Todorov
Copy link
Contributor

@agoritma This is clean, well-structured, and addresses the issue nicely.

Just resolve the conflicts and we can merge ✌️

@agoritma
Copy link
Author

@Valentin-v-Todorov i've done resolve the conflicts, you can check it again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants